

function checkRule(){
	//
	if(document.getElementsByName("monitorSolidProductNumCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorSolidProductNumCommand.judge")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidProductNumCommand.productNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorVirtualProductNumCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorVirtualProductNumCommand.judge")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualProductNumCommand.productNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorTimeSolidProductNumCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorTimeSolidProductNumCommand.judge")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorTimeSolidProductNumCommand.productNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorTimeSolidProductNumCommand.timeNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorTimeVirtualProductNumCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorTimeVirtualProductNumCommand.judge")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorTimeVirtualProductNumCommand.productNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorTimeVirtualProductNumCommand.timeNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorBendBuyNumCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorBendBuyNumCommand.judge")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorBendBuyNumCommand.dateNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorBendBuyNumCommand.buyNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorBendBuyDateCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorBendBuyDateCommand.dateNum")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorSolidMileageCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorSolidMileageCommand.judgeProduct")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidMileageCommand.productMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidMileageCommand.judgeOrder")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidMileageCommand.orderMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorVirtualMileageCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorVirtualMileageCommand.judgeProduct")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualMileageCommand.productMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualMileageCommand.judgeOrder")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualMileageCommand.orderMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorSolidMileageRemoveOneCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorSolidMileageRemoveOneCommand.judgeProduct")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidMileageRemoveOneCommand.productMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidMileageRemoveOneCommand.judgeOrder")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorSolidMileageRemoveOneCommand.orderMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
	//
	if(document.getElementsByName("monitorVirtualMileageRemoveOneCommand.isCheck")[0].checked){
		if(document.getElementsByName("monitorVirtualMileageRemoveOneCommand.judgeProduct")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualMileageRemoveOneCommand.productMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualMileageRemoveOneCommand.judgeOrder")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
		if(document.getElementsByName("monitorVirtualMileageRemoveOneCommand.orderMileage")[0].value == ""){
			alert("请完善选中的规则。");
			return false;
		}
	}
}